package edu.ujf.sharepas.rmi;
import java.io.Serializable;


public class Message implements Serializable{

	private static final long serialVersionUID = -4177320730549305484L;
	private String message ;
	public String userName;
	
	public Message(String m){
		message = m;
	}
	
	public Message(String m, String user){
		message = m;
		userName = user ;
	}
	
	public String getMessage(){
		return message;
	}
	
	public String getUsername(){
		return userName;
	}

}
